<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PagingPage.aspx.cs" Inherits="PagingPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <asp:DetailsView ID="DetailsView1" runat="server" AllowPaging="True" AutoGenerateDeleteButton="True"
                AutoGenerateEditButton="True" AutoGenerateInsertButton="True" AutoGenerateRows="False"
                DataKeyNames="RecruiterID" DataSourceID="SqlDataSource1" Height="50px" Width="353px">
                <PagerSettings Mode="NumericFirstLast" PageButtonCount="20" />
                <Fields>
                    <asp:BoundField DataField="RecruiterID" HeaderText="RecruiterID" InsertVisible="False"
                        ReadOnly="True" SortExpression="RecruiterID" />
                    <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                    <asp:BoundField DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName" />
                    <asp:BoundField DataField="EnglishName" HeaderText="EnglishName" SortExpression="EnglishName" />
                    <asp:BoundField DataField="ContactName" HeaderText="ContactName" SortExpression="ContactName" />
                    <asp:BoundField DataField="OpenDate" HeaderText="OpenDate" SortExpression="OpenDate" />
                    <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" />
                </Fields>
            </asp:DetailsView>
            &nbsp;</div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RecruitVietnamDbConnectionString %>"
            SelectCommand="SELECT [RecruiterID], [Email], [CompanyName], [EnglishName], [ContactName], [OpenDate], [Address] FROM [tblRCAccounts]">
        </asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
